[BLOCKED on MockBukkit 26.2] Compile against literal Minecraft 26.2#2994
Draft
tastybento wants to merge 1 commit into
Draft
[BLOCKED on MockBukkit 26.2] Compile against literal Minecraft 26.2#2994tastybento wants to merge 1 commit into
tastybento wants to merge 1 commit into
Conversation
…26.2) Forward-looking delta on top of the 26.2-support PR, parked as a draft until a MockBukkit build for 26.2 exists. It moves the build from "compile against 26.1.2, support 26.2 at runtime" to "compile against 26.2 directly": - paperVersion -> 26.2.build.25-alpha, so EntityType.SULFUR_CUBE and the new 26.2 materials are available at compile time. - SULFUR_CUBE fields revert to `static final` (no test injection needed once the real constant exists); the Sulfur Cube tests use EntityType.SULFUR_CUBE directly instead of injecting a stand-in type, dropping the reflection helpers. The only remaining blocker is the test dependency: MockBukkit has no 26.2 build, and mockbukkit-v26.1.2 throws on 26.2's new `minecraft:sulfur_cube_archetype` registry, so the suite cannot initialise. The code compiles cleanly against 26.2; to finish, switch the testImplementation coordinate to mockbukkit-v26.2. DO NOT MERGE until MockBukkit ships 26.2 support. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
Draft — DO NOT MERGE. Blocked on a MockBukkit build for Minecraft 26.2.
CI will stay red until then. Stacked on #2993 (base =
feature/paper-26-2-support); retarget todeveloponce #2993 merges.Purpose
#2993 ships 26.2 support but compiles against 26.1.2 because no MockBukkit supports 26.2 yet. This draft parks the small forward delta that moves us to compiling against the literal 26.2 API, so the day MockBukkit 26.2 lands it's a ~2-minute finish.
What changes vs #2993
paperVersion→26.2.build.25-alpha—EntityType.SULFUR_CUBEand the new 26.2 materials become available at compile time. ✅ compiles cleanly.SULFUR_CUBEfields revert tostatic final(the non-final + reflection-injection workaround was only needed because the constant was absent under 26.1.2).EntityType.SULFUR_CUBEdirectly and drop the stand-in injection helpers — the clean target form.The one remaining blocker
MockBukkit has no 26.2 build, and
mockbukkit-v26.1.2throws on 26.2's newminecraft:sulfur_cube_archetyperegistry, so the suite can't initialise (InternalDataLoadException). To finish:mockbukkit-v26.2)testImplementationcoordinate tomockbukkit-v26.22.0.0-SNAPSHOTpin from feat: support Minecraft 26.2 and migrate the build to Java 25 #2993 if so)🤖 Generated with Claude Code